/**
 * Copyright (C) 2010 - 2013 Harry Glasgow
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.googlecode.jaden.common.enums;

import com.googlecode.jaden.common.other.Utils;
import com.googlecode.jaden.ui.Constants;

public enum DateResultType {

    MonthOfYear(Utils.translate(Constants.DATE_RESULT_TYPE_MONTH_OF_YEAR)),
    DayOfYear(Utils.translate(Constants.DATE_RESULT_TYPE_DAY_OF_YEAR)),
    DayOfMonth(Utils.translate(Constants.DATE_RESULT_TYPE_DAY_OF_MONTH)),
    DayOfWeek(Utils.translate(Constants.DATE_RESULT_TYPE_DAY_OF_WEEK)),
    HourOfDay(Utils.translate(Constants.DATE_RESULT_TYPE_HOUR_OF_DAY)),
    MinuteOfHour(Utils.translate(Constants.DATE_RESULT_TYPE_MINUTE_OF_HOUR)),
    SecondOfMinute(Utils.translate(Constants.DATE_RESULT_TYPE_SECOND_OF_MINUTE)),
    DayOfWeekCategorical(Utils.translate(Constants.DATE_RESULT_TYPE_DAY_OF_WEEK_CATEGORICAL)),
    MonthCategorical(Utils.translate(Constants.DATE_RESULT_TYPE_MONTH_CATEGORICAL));

    private String description;

    DateResultType(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public String toString() {
        return description;
    }
}
